package priv.mill.jdbc.dao;

import java.util.List;

public interface IDao<T> {

	List<T> findAll(String sql,Object...args) throws Exception;
	
	T findOne(String sql,Object...args) throws Exception;
	
	Boolean delete(String sql,Object...args) throws Exception;
	
	Boolean update(String sql,Object...args) throws Exception;
	
	Boolean insert(String sql,Object...args) throws Exception;
	
	
}
